package org.rohmh.tag.domain;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

import org.rohmh.category.domain.RohmhCategory;
import org.rohmh.generic.entity.UUIDEntity;


@Entity
@Table(name="rohmh_tag")
public class Tag extends UUIDEntity<Tag> {

    private String tagName;

    private Integer taggedArticlesNumber;

    private Date regDate;
    private Date modDate;

	protected Tag() {
		// TODO Auto-generated constructor stub
	}

}
